<% 
	var headContent = {
%>
	<% include("/pages/web/web_header.html"){} %>
	<% // 百度联盟 %>
	<meta name="baidu_union_verify" content="e70735959d604d6a2282fb2ce926b23d">
<%
};

var bodyContent = {
%>

<%  include("/pages/web/home_header.html"){} %>	
	
	<div class="x-page-container">
		<div class="mod-diary">
			<div class="mod-diary-top"></div>
			<div class="mod-diary-inner">
				<div class="mod-diary-pen"></div>
				<div class="mod-diary-nav"></div>
				<div class="mod-diary-clip"></div>
				<div class="mod-topspaceinfo">
					<h1>
						<a class="space-name" href="javascript:void(0);">${WEB_TITLE }</a>
					</h1>
				</div>

				<div class="mod-bloglist">

					<% for(item in page.list){ %>
						<div class="mod-blogitem">
							<div class="box-postdate">
							${item.publish_time}
							<p title="${item.publish_user!''}" >
							<a class="box-postuser" href="web_article/user/${item.create_id}"  target="_blank">${flyfox.suojin(item.publish_user!'',6)}</a>
							</p>
							</div>
							<div class="item-title">
								<a href="web_article/${item.id}"  target="_blank">${item.title}</a>
								<div class="item-right">
									<% if(item.is_comment=='1'){ %>
									<a href="web_article/${item.id}#article_comment"  target="_blank"><span>评论(${flyfox.countComment(item.id)})</span></a>
									<% } %>
									<span>浏览量(${flyfox.countView(item.id)})</span>
								</div>
							</div>
							<div class="item-content">
							<% if(item.type==12) { %>
							${item.content!'' }
							<% } else { // type ==11 %>
							<% var article_content = flyfox.showHTML(item.content!'',200,'  ......'); %>
							${article_content!'' }
							<% } %>
							
							</div>
							
							<div class="item-footer">
								<div class="item-left">
								<% var tags = flyfox.split(item.tagsname,','); 
									if(tags != null) {
								%>
									<ul class="q-taglist clearfix">
										<li title="标签"><span class="q-icon"></span></li>
									<%
										for(tagitem in tags){ 
									%>
										<li class="q-tagitem">
										<a class="a-tagitem" href="web_tags/${tagitem}">${tagitem}</a>
										</li>
									<% 
										}
									%>
									</ul>
								<%
								} 
								%>
								</div>
								
								<div class="item-right">
									<a href="web_article/${item.id}"  target="_blank">查看全部</a>
								</div>
							</div>
						</div>
					<% } %>

				</div>
				
				<div class="mod-blogpager">
					<%include("/static/component/include/web_paginator.html"){} %>
				</div>
			</div>
			
			<div class="mod-diary-bottom"></div>
		</div>
	</div>
	
	<%  include("/pages/web/home_footer.html"){} %>	
	
	<a id="scrollTop" href="javacript:void(0);" title="返回顶部" style="display: inline;"></a>
<%}; %>


<% layout("/pages/template/_layout.html",{head:headContent,body:bodyContent}){ %>
<%} %>
